package cn.stard.org.query;

import cn.stard.basic.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemDetailQuery  {

    private Integer currentPage1 = 1;

    // 2.当前页展示条数
    private Integer pageSize1 = 5;
    private  String keyword;
    /**
     * 计算分页起始位置
     * @return
     */
    public Integer getStart(){
        return (this.currentPage1 - 1) * this.pageSize1;
    }


    private  Long typeid;


    }

